package com.woniuxy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 消毒记录对象 algs_disinfection_record
 *
 * @author ruoyi
 * @date 2023-03-20
 */
public class AlgsDisinfectionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long disinfectionRecordId;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disinfectionRecordDate;

    /** 状态ID（外键） */
    @Excel(name = "状态ID", readConverterExp = "外=键")
    private Long typeId;

    /** 负责人ID（外键） */
    @Excel(name = "负责人ID", readConverterExp = "外=键")
    private Long staffId;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String disinfectionRecordDesc;

    public void setDisinfectionRecordId(Long disinfectionRecordId)
    {
        this.disinfectionRecordId = disinfectionRecordId;
    }

    public Long getDisinfectionRecordId()
    {
        return disinfectionRecordId;
    }
    public void setDisinfectionRecordDate(Date disinfectionRecordDate)
    {
        this.disinfectionRecordDate = disinfectionRecordDate;
    }

    public Date getDisinfectionRecordDate()
    {
        return disinfectionRecordDate;
    }
    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId()
    {
        return typeId;
    }
    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId()
    {
        return staffId;
    }
    public void setDisinfectionRecordDesc(String disinfectionRecordDesc)
    {
        this.disinfectionRecordDesc = disinfectionRecordDesc;
    }

    public String getDisinfectionRecordDesc()
    {
        return disinfectionRecordDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("disinfectionRecordId", getDisinfectionRecordId())
                .append("disinfectionRecordDate", getDisinfectionRecordDate())
                .append("typeId", getTypeId())
                .append("staffId", getStaffId())
                .append("disinfectionRecordDesc", getDisinfectionRecordDesc())
                .toString();
    }
}
